|
-
May 3rd, 2002, 05:20 PM
#1
Thread Starter
Lively Member
select a DataCombo entry
I am attempting to make a form switchable from a view-only mode to an editing mode. A record may already contain data
or be a new (blank) record. My view-only mode uses textboxes to display record fields.
When the user logs into edit mode, if they select a record with data already in it, I want the data from the record to trigger
the selected text in the datacombo.
Any suggestions for doing this?
Thanx in advance!
MDS
-
May 3rd, 2002, 07:18 PM
#2
Fanatic Member
Hi
Just create a Sub that populate your textfields, combos or whatever. Create a Button with the name cmdEdit and if somebody click on it then it opens a editform or if your form have already all the fields on it to edit, you enable the fields. Have on your form a second button "cmdSave". This button is always enabled=false. Only when you are in the edit mode this button changes to enabled=true.
It is a simple way and works well in some of my programs.
Franky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|