Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I frequent other newsgroups, too, and am MOST IMPRESSED with the lack of smart a-- and presence of genuine desire to help anyone of any skill level..."

Geography

Where in the world do Tek-Tips members come from?

Need Blank Record To Show Up In DataWindow

FontanaS (Programmer)
30 Apr 02 8:15
I have nested datawindow that is linked to the primary one by user_id.  Both are tables.

The problem is that if there are no information in the child datawindow, nothing shows up.  I would like the fields to show up so the user can enter data into them.

How do I get a blank record to show up in the child datawindow for user entry?

THANKS!
daniel32 (Programmer)
30 Apr 02 9:46
dw_child.InsertRow(0) should do the trick.
Tentacle (Programmer)
4 May 02 11:57
What you need to do is go to the SQL view of the datawindow and then click on the join. When the join window opens select the join that says: = table_1.user_id = table_2.user_id and rows from table_1 that have no table_2

This should fix your problem and still list data from the first table even if there is no data entered in the child table. Hope this helps

Tentacle

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close