FREE!Sign Up Log In Download


Join Glucose Buddy Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-28-2012, 04:40 PM
2twisty 2twisty is offline
Junior Member
 
Join Date: Sep 2012
Posts: 21
Default Please add unique identifier to records in exports

I would like to be able to download the data from GB and pull it into a database for more reporting options.

However, Without a truly unique ID for each record, there's no easy way to tell if a given record is "new" or if it has been modified.

For example,

If I take a BG reading on 1/1/2012 at 00:01, and then import that into a databse, and then subsequently realize that it was at NOON rather than at Midnight...then I update the entry and redo the import.

There's no way for the import routine to know that the record was updated rather than is a NEW BG reading, 12 hours later.

I'm sure your database has a unique ID for each record..it must for it to work properly. Could you please add it to the export? Users who don't want that data can just delete that column of data from the excel sheet that results.

I thought of using the date/time field to generate a uniqueID, but that won't help any if you change the time on a record. It will still look "new."

Please advise.
Reply With Quote
  #2  
Old 09-28-2012, 05:16 PM
dano dano is offline
Super Moderator
 
Join Date: Jan 2010
Location: South Central Kentucky
Posts: 3,909
Default

I assume that you are working with the CSV file. Have you read through the "GB Help" File? There is one item mentioned there, that might help you with your date and time stamp.
__________________
Regards;

Danny
Reply With Quote
  #3  
Old 09-30-2012, 01:16 AM
2twisty 2twisty is offline
Junior Member
 
Join Date: Sep 2012
Posts: 21
Default

Where is this help file of which you speak? I can't find it.


I suppose I could always re-import the entire dataset each time, but that's really clunky.

Tell me where the help file is and I'll see if the thing mention is sufficient, although if it's based on the date/time field, it's not, since the date and time of a given log entry can be altered. Having an unalterable and unique identifier for each record will make it much easier to keep track of any data that was changed in an existing record.
Reply With Quote
  #4  
Old 09-30-2012, 01:58 AM
dano dano is offline
Super Moderator
 
Join Date: Jan 2010
Location: South Central Kentucky
Posts: 3,909
Default

It's the second thread in the GB Specific section. I would post a link, but I'm on my cell phone.

Edited to add; Here is the link.
__________________
Regards;

Danny

Last edited by dano; 10-01-2012 at 12:30 AM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2011 SkyHealth LLC. All rights reserved.