For Programmers: Free Programming Magazines  


Home > Archive > Clarion > November 2007 > Entry Mode









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Entry Mode
Tan

2007-10-05, 3:55 am

Dear All,

It's about entry way of a record. I used to browse a table first and
then I select insert button and then the entry form of a record
appear. What I'd to ask for Help is can you guys tell me the way if I
want to change the way like when I like adding a record only by
clicking a button without browse it first ( direct into entry form )
so it makes the entry process faster.


Thank's

bnesheim

2007-11-08, 6:55 pm

Tan <taniarto00@yahoo.co.id> wrote in news:1191563646.490202.5660
@n39g2000hsh.googlegroups.com:

> Dear All,
>
> It's about entry way of a record. I used to browse a table first and
> then I select insert button and then the entry form of a record
> appear. What I'd to ask for Help is can you guys tell me the way if I
> want to change the way like when I like adding a record only by
> clicking a button without browse it first ( direct into entry form )
> so it makes the entry process faster.


Just add a generic window and include the file(s) you want to update in
the 'Files'-section. In the window you include the fields you want the
useres to update. Can be fields from several different tables. Then and
a button and name it something like 'Save' ;-). Add embeded kode to the
Accept entry point: In this code you initilize any fields not updated by
the user. Then you use a construct like this adding a record to the table.

IF Access:<insert tablename>.Insert() NOT= Level:Benign THEN
MESSAGE('Error saving record to table.')
END

This will insert the new record. Use a self.reset(1) if you want to
update any lists in the window you are working.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com