Primary vs Secondary files

fernando.olmos at hpa.com.au fernando.olmos at hpa.com.au
Sun Sep 11 18:57:59 CDT 2005


This sounds crazy, but I thought secondary files were meant to
automatically add/update/delete along with the primary file in quick.

I have a simple code... 

screen tmp 
file copy_file in isdb primary 
select if copy_type = 'xx' 
file www_users in natdb 
item user_id final user_id of copy_file 
item domain final "VIC" 
gen 
go 

The primary key of the www_users table is the user_id and domain field
combo. The primary key of the copy_file is user_id and a column called
copy_type which in this case must be 'xx'

Well the screen builds and runs perfectly, but when I add a new record
to copy_file, there is nothing been added to www_users.

I haven't worked with qdesign for a long time and my faint memory cells,
tell me this was once a possibility. I guess I am missing something
here.

Thanks 

Fernando Olmos 
M.I.S. 

HPA
Direct:  03 9217 5411
Mobile: 0410 382 857
Fax:     03 9217 5716 

 <file:///H:/Appdata/Microsoft/Signatures/www.hpa.com.au> www.hpa.com.au



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20050912/e2e514eb/attachment.html


More information about the powerh-l mailing list