Skip to Content
author's profile photo Former Member
Former Member

Create in datbase after add

hello expert

i create one form "insert Bed" the form contain ward type "combo box" which have two value that is "Genral" and "specilist"and two edit box from which one for ROOM NO and second for BED CAPACITY. now i want when i select combo box items "Genral"

and room no "G1" and bed capacity "20" .when this information added in database.i want in ward "genral" under room no"G1"

20 beds created with status "vaccant".i have follwing feilds in database

Ward type, Room No, Bed capacity,status

pls help me sir

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2009 at 11:13 AM

    Hi vmaskey,

    Use the GeneralServices Object to update the fields values in appropriate UDO Table.

    Regards,

    Vítor Vieira

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi vmaskey,

      Catch the ItemPressed of your "Insert Bed" form, check if the WardType ComboBox holds the value "General" use the GeneralServices Object to create 20 records for the 20 new beds for room "G1".

      The GeneralServices Object allows you to create/delete/update UDO records (in both header and child tables).

      I cannot help any further because I don't know your database structure.

      Regard,

      Vítor Vieira

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.